package com.tom.joke.daily.daily3.proxy;

// 大明星
public class BigStar implements IStar {
    public String name;
    public BigStar(){}
    public BigStar(String name){
        this.name = name;
    }
    @Override
    public String sing(String name) {
        System.out.println(this.name + " 正在唱歌:" + name);
        return "谢谢";
    }
    @Override
    public void dance() {
        System.out.println(this.name + " 正在跳舞！");
    }
}
